import request from '@/utils/request'

let KeywordApi = {
  /*关键词列表*/
  keywordList(data, errorback) {
    return request._post('/shop/keyword.keyword/index', data, errorback);
  },
  /*添加关键词*/
  addKeyword(data, errorback) {
    return request._post('/shop/keyword.keyword/add', data, errorback);
  },
  /*修改关键词*/
  editKeyword(data, errorback) {
    return request._post('/shop/keyword.keyword/edit', data, errorback);
  },
  /*删除关键词*/
  deleteKeyword(data, errorback) {
    return request._post('/shop/keyword.keyword/delete', data, errorback);
  },
}

export default KeywordApi;
